package com.ruoyi.yijing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参考资料对象 yj_references
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class YjReferences extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long refId;

    /** 文献名称 */
    @Excel(name = "文献名称")
    private String refName;

    /** 作者 */
    @Excel(name = "作者")
    private String refAuthor;

    /** 年代 */
    @Excel(name = "年代")
    private String refYears;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 数据状态(1有效，0无效) */
    @Excel(name = "数据状态(1有效，0无效)")
    private String dataStatus;

    public void setRefId(Long refId) 
    {
        this.refId = refId;
    }

    public Long getRefId() 
    {
        return refId;
    }
    public void setRefName(String refName) 
    {
        this.refName = refName;
    }

    public String getRefName() 
    {
        return refName;
    }
    public void setRefAuthor(String refAuthor) 
    {
        this.refAuthor = refAuthor;
    }

    public String getRefAuthor() 
    {
        return refAuthor;
    }
    public void setRefYears(String refYears) 
    {
        this.refYears = refYears;
    }

    public String getRefYears() 
    {
        return refYears;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDataStatus(String dataStatus) 
    {
        this.dataStatus = dataStatus;
    }

    public String getDataStatus() 
    {
        return dataStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refId", getRefId())
            .append("refName", getRefName())
            .append("refAuthor", getRefAuthor())
            .append("refYears", getRefYears())
            .append("sort", getSort())
            .append("dataStatus", getDataStatus())
            .toString();
    }
}
